import OSS from 'ali-oss';
const OSS = require('ali-oss');
// 创建 OSS 客户端实例
const client = new OSS({
  region: 'oss-cn-beijing',          // Bucket 所在区域
  accessKeyId: process.env.OSS_ACCESS_KEY_ID,      // 从环境变量读取 AccessKey
  accessKeySecret: process.env.OSS_ACCESS_KEY_SECRET,
  bucket: 'oss-cultural-relic'         // Bucket 名称
});

module.exports = client;